<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
    <link rel="stylesheet" href="">
    <link rel="stylesheet" href="bootstrap/css/bootstrap.css">
    <link rel="stylesheet" href="css/index.css">
    <script src="angular/angular.js"></script>
    <script src="angular/angular-ui-router.min.js"></script>
    <script src='js/jquery/jquery.min.js'></script>
    <!--[if lt IE 9]>
    <script src="bootstrap/html5shiv/html5shiv.min.js"></script>
    <script src="bootstrap/respond/respond.js"></script>
    <![endif]-->
</head>
<body ng-app="max" ng-controller="max_c">

<!--页面整体框架 -->
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
    <div class="container-fluid">
        <!-- 汉堡菜单-->
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="#">豆瓣电影</a>
        </div>
        <!-- 搜索部分-->
        <div id="navbar" class="navbar-collapse collapse">
            <ul class="nav navbar-nav navbar-right">
                <li><a href="#" ng-click="searchAll()">搜索</a></li>
            </ul>
            <form class="navbar-form navbar-right">
                <input type="text" class="form-control" ng-model="find" placeholder="Search...">
            </form>
        </div>
    </div>
</nav>

<!--选择按钮以及电影内容部分 -->
<div class="container-fluid">
    <div class="row">
        <!-- 选择按钮 -->
        <div class="col-sm-3 col-md-2 sidebar">
            <ul class="nav nav-sidebar">
                <li ng-class="{active:p=='in_theaters'?true:false}"><a href="#/list/in_theaters">正在热映</a></li>
                <li ng-class="{active:p=='coming_soon'?true:false}"><a href="#/list/coming_soon">即将上映</a></li>
                <li ng-class="{active:p=='top250'?true:false}"><a href="#/list/top250">Top255</a></li>
            </ul>
        </div>
        <!-- 电影内容展示部分 -->
        <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main ">
            <div ui-view></div>
        </div>
    </div>
</div>

</body>
<script src="module/max/max.js"></script>
<script src="module/list/list.js"></script>
<script src='js/index.js'></script>
<script src='bootstrap/js/bootstrap.min.js'></script>
</html>